package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yunan
 * @since 2023-10-27
 */
//员工实体类
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee implements Serializable {
//哈哈哈
    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;
//部门名称
    private String name;
//密码
    private String password;

    private String email;

    private Integer age;

    private Boolean admin;

    private Long deptId;


}
